-- GENERATED SPELL FOR [Frostmane Snowstrider] --


function spell0_1121(pUnit, Event) --@Faerie Fire,n/a--
pUnit:FullCastSpellOnTarget(6950,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1121', 2000, 1)
end

function spell1_1121(pUnit, Event) --@Thorns,n/a--
pUnit:FullCastSpellOnTarget(467,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1121', 611, 1)
end

function Sorts_1121(pUnit, Event)
local choix_sorts_1121 = math.random(0, 1)
if choix_sorts_1121 == 0 then
pUnit:RegisterEvent('spell0_1121', 1, 1)
end
if choix_sorts_1121 == 1 then
pUnit:RegisterEvent('spell1_1121', 1, 1)
end
end

function mob1121_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1121', math.random(1500, 3000), 1)
end

function mob1121_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1121_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1121_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1121, 1, 'mob1121_Action')
RegisterUnitEvent(1121, 2, 'mob1121_Leave')
RegisterUnitEvent(1121, 3, 'mob1121_Kill')
RegisterUnitEvent(1121, 4, 'mob1121_Die')
